package com.entity;

import java.io.Serializable;
/**
 * 标签
 * @author MingCha Yang
 *
 */
public class Tag implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	 private Integer tagId;//标签Id
	 private String tagName;//标签名
     private String tagDescription;//标签描述
     private Integer articleCount; //文章数量(非数据库字段)
     
     
     
     public Tag() {
 		super();
 	}
 	public Tag(Integer tagId) {
 		super();
 		this.tagId = tagId;
 	}
	public Integer getTagId() {
		return tagId;
	}
	public void setTagId(Integer tagId) {
		this.tagId = tagId;
	}
	
	public String getTagName() {
		return tagName;
	}
	public void setTagName(String tagName) {
		this.tagName = tagName;
	}
	public String getTagDescription() {
		return tagDescription;
	}
	public void setTagDescription(String tagDescription) {
		this.tagDescription = tagDescription;
	}
	public Integer getArticleCount() {
		return articleCount;
	}
	public void setArticleCount(Integer articleCount) {
		this.articleCount = articleCount;
	}
	@Override
	public String toString() {
		return "Tag [tagId=" + tagId + ", tagName=" + tagName + ", tagDescription=" + tagDescription + "]";
	}

}
